#include "complex.h"


class Tmatrix {

 public:

  Complex a11;
  Complex a12;
  Complex a21;
  Complex a22;

 Tmatrix();
 ~Tmatrix() {}
 Tmatrix(Complex k1,Complex k2,double m1,double m2,double d);

 Tmatrix  id();
 Tmatrix  operator=(const Tmatrix & op);
 Tmatrix  operator*(const Tmatrix & op);
 Tmatrix is(Complex k1, Complex k2, double m1, double m2, double d);

 Complex prod1(Complex op1,Complex op2) {return a11*op1+a12*op2;}
 Complex prod2(Complex op1,Complex op2) {return a21*op1+a22*op2;}

 void show();
 void show(FILE *);

};

// *******************   OTHERS   *******************


Complex	product(int num, Tmatrix T[]);


//************************************************


